package exam.aopLogger.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author Xiongx
 * @version 1.0
 * @date 2021/4/11 14:34
 * @since JDK 1.8
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("log_content")
@Builder
@ApiModel("日志详细内容")
public class LogContent implements Serializable {

    @TableId("id")
    @ApiModelProperty("主键id")
    private String id;

    @TableField("log_id")
    @ApiModelProperty("日志id")
    private String logId;

    @TableField("content_json")
    @ApiModelProperty("执行后的结果")
    private String content;

    @TableField("exec_status")
    @ApiModelProperty("执行状态")
    private Integer execstatus;

    @TableField("arg_json")
    @ApiModelProperty("参数json")
    private String argJson;
}
